//推荐接口
import request from "./http";


// 获取歌手数据
export function getToplistArtist(params) {
    return request({
        url: "/artist/list",
        method: "get",
        params
    })
}

// 获取歌手详情
export function getArtistDetail({ id }) {
    return request({
        url: "/artist/detail?",
        method: "get",
        params: {
            id
        }
    })
}
// 获取歌手描述
export function getArtistDesc({ id }) {
    return request({
        url: "/artist/desc",
        method: "get",
        params: {
            id
        }
    })
}

// 获取歌手单曲
export function getArtist({ id }) {
    return request({
        url: "/artists",
        method: "get",
        params: {
            id
        }
    })
}

// 获取歌手 mv
export function getArtistMv({ id }) {
    return request({
        url: "/artist/mv",
        method: "get",
        params: {
            id
        }
    })
}